using System;
using System.Data;
using System.Configuration;
using System.Collections;

using DAL;
using DL;
/// <summary>
/// Summary description for ProductBL
/// </summary>
namespace BL 
{
    public class ProductBL  
    {
    	#region Private Variables
		ProductDAL objProductDAL;
		#endregion
		
        #region Public Constructors
        public ProductBL()
        {
            //
            // TODO: Add constructor logic here
            //
            objProductDAL=new ProductDAL();
        }
        #endregion       

        #region Public Methods
        public int Insert(ProductDL objProductDL)
        {
            return objProductDAL.Insert(objProductDL);
        }

        public int Update(ProductDL objProductDL)
        {
             return objProductDAL.Update(objProductDL);

        }

        public int Delete(ProductDL objProductDL)
        {
             return objProductDAL.Delete(objProductDL);

        }

         public int DeleteAll()
        {
             return objProductDAL.DeleteAll();
        }

        public ProductDL Select(ProductDL objProductDL)
        {
            return objProductDAL.Select(objProductDL);
        }

        public ArrayList SelectAll1( )
        {
         return objProductDAL.SelectAll1();
        }
        
        public DataTable SelectAll( )
        {
         return objProductDAL.SelectAll();
        }


     
#endregion          
    
    }

}
